package pong.app.views
{
	import flash.display.DisplayObject;
	import flash.display.DisplayObjectContainer;
	import flash.events.EventDispatcher;
	
	import pong.app.IPongAppSkin;
	import pong.app.IPongAppSkinFactory;

	public class PongAppAbstractView extends EventDispatcher
	{
		
		protected var _skin:IPongAppSkin;
		
		protected var _container:DisplayObjectContainer;
		
		
		public function PongAppAbstractView(skin:IPongAppSkin, container:DisplayObjectContainer)
		{
			this._skin = skin;
			
			this._container = container;
		}

		
		
		public function show():void
		{
			this._skin.show(this._container);
		}
		
		
		
		public function hide():void
		{
			this._skin.hide();
		}		
		
	}
}